typedef HRESULT (WINAPI *TD3DXGetImageInfoFromFileInMemory)(
  _In_  LPCVOID pSrcData,
  _In_  UINT SrcDataSize,
  _In_  D3DXIMAGE_INFO *pSrcInfo
);

TD3DXGetImageInfoFromFileInMemory OldD3DXGetImageInfoFromFileInMemory;

DllExport HRESULT cc D3DXGetImageInfoFromFileInMemory(
  _In_  LPCVOID pSrcData,
  _In_  UINT SrcDataSize,
  _In_  D3DXIMAGE_INFO *pSrcInfo
)
{
	return OldD3DXGetImageInfoFromFileInMemory (pSrcData, SrcDataSize, pSrcInfo);
}
